public class Cat extends Animal {
    public String color;

    public Cat(String id, String name, String color) {
        super(id, name);
        this.color = color;
    }

    public Cat(String color) {
        this.color = color;
    }

    public Cat() {
    }

    @Override
    public String toString() {
        return "Cat{" +
                "color='" + color + '\'' +
                ", id='" + id + '\'' +
                ", name='" + name + '\'' +
                '}';
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }
}
